package com.xoms.admin.controller.springmvc.req;


import org.hibernate.validator.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 入库-采购入库
 **/
public class Purchase4StockInParam {
	@NotEmpty(message = "仓库id不能为空")
	private String storeHouseId; // 仓库id
	private String totalCost; // 入库花费总额
	private String remark; // 入库单描述
	private String details; // 详情信息数组
	private String type; // 入库类型：1采购入库2冲正3充公入库
	private String targetId; // 根据入库类型关联id
	@Pattern(regexp = "^1|2$", message = "是否提交：1存为草稿2提交审核")
	private String isSubmit; // 是否直接提交审核1存为草稿2提交审核

	public void setStoreHouseId(String storeHouseId) {
 		this.storeHouseId = storeHouseId;
	}

	public String getStoreHouseId() {
 		return storeHouseId;
	}

	public void setTotalCost(String totalCost) {
 		this.totalCost = totalCost;
	}

	public String getTotalCost() {
 		return totalCost;
	}

	public void setRemark(String remark) {
 		this.remark = remark;
	}

	public String getRemark() {
 		return remark;
	}

	public void setDetails(String details) {
 		this.details = details;
	}

	public String getDetails() {
 		return details;
	}

	public void setType(String type) {
 		this.type = type;
	}

	public String getType() {
 		return type;
	}

	public void setTargetId(String targetId) {
 		this.targetId = targetId;
	}

	public String getTargetId() {
 		return targetId;
	}

	public void setIsSubmit(String isSubmit) {
 		this.isSubmit = isSubmit;
	}

	public String getIsSubmit() {
 		return isSubmit;
	}

}
